<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="format-detection" content="telephone=no">
    #parse("/h5/common/webWords.html")
    <link rel="stylesheet" type="text/css" href="http://${staticHost}/css/medioadaption.css">
    <link rel="stylesheet" type="text/css" href="http://${staticHost}/css/stcss.css">
    <script type="text/javascript" src="http://${staticHost}/js/jquery.js"></script>
    <script type="text/javascript" src="http://${staticHost}/js/continuingEducation.js"></script>
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
        	function add0(m){return m<10?'0'+m:m };
            function getDate(tm){
                //shijianchuo是整数，否则要parseInt转换
                var time = new Date(tm);
                var y = time.getFullYear();
                var m = time.getMonth()+1;
                var d = time.getDate();
                var h = time.getHours();
                var mm = time.getMinutes();
                var s = time.getSeconds();
                return y+'-'+add0(m)+'-'+add0(d);
            }
        	
            $(".moreNews").click(function () {
                var _this = $(this);
                var sign = _this.attr('sign');
                var num = _this.attr('num');
                num = num*1 + 1;
                $.ajax({
                    type:'post',
                    url:'${requestHost}/internal/auth/moreNews',
                    contentType:'application/x-www-form-urlencoded; charset=utf-8',
                    data:{
                    	parentId:2,
                        sign:sign,
                        num:num
                    },
                    success: function (result) {
                        var name = result.info;
                        var newsList = result.result;
                        var newsJson = eval("("+newsList+")");
                        $.each(newsJson, function (i, val) {
                            var classDocumentName = val.classDocumentName;
                            if(name != '我的同学' && classDocumentName.length > 20){
                                title.substring(0, 20)+'...';
                            }
                        	if('班级公告' == name){
                                $("#classNote").append("<li><a href=/public/viewNews?source=myClass&articleId="+val.id+"&parentName=班级公告>"+classDocumentName+"</a></li>");
                                _this.attr('num', num);
							}
                            if('班主任有话' == name){
                                $("#teacherMsg").append("<li><a href=/public/viewNews?source=myClass&articleId="+val.id+"&parentName=班主任有话>"+classDocumentName+"</a></li>");
                                _this.attr('num', num);
                            }
                            if('我的同学' == name){
                                $("#schoolmate").append("<a href=#><img src="+val.headPortrait+"><span>姓名:"+val.studentName+"</span></br><span>"+val.mood+"</span></a>");
                                _this.attr('num', num);


                            }
                        });
                    }
                });
            });
        });
    </script>
    <style type="text/css">
        .scroll_box_more a:hover {
            background-color: #eeeeee;
            color:#666666;
        }
        .zs_news2 li{
            background:url('');
        }
        .kecheng li dl dt{
            background:url('');
        }

        .editMood{
            color: #333;
        }

    </style>
</head>


<body style="background-color:#f8f8f8;">
<div class="dlny clear">
    <dl>
        <dt><a href="/edu/auth/toEditHeadprotrait"><img src="${headPortrait}"></a></dt>
        <dd>
            <!--<span><a href="/edu/auth/toEditStudentInfo">[修改]</a></span>-->
            [${studentName}] <a href="/edu/auth/toEditStudentInfo" class="editMood">${mood}</a>
        </dd>
    </dl>
</div>

<div class="mbox clear">
    <div class="banji">
        <ul>
            <li>
                <a href="/curriculum/auth/courseOnLine"><img src="http://${staticHost}/images/kt01.png"><span>课堂在线</span></a>
                <a href="/edu/static/jumpOther?jumpType=2&collegeId=50"><img src="http://${staticHost}/images/y07.png"/><span>创业学院</span></a>
                <a href="/schoolroll/auth/typeIn"><img src="http://${staticHost}/images/xjtb.png"><span>学籍填报</span></a>
                <a href="/edu/static/jumpOther?jumpType=1"><img src="http://${staticHost}/images/y02.png"><span>人脉合作</span></a>
            </li>
        </ul>
    </div>
</div>

<div class="mbox">
    <div class="mtits2 clear"><span>班级公告</span><em>/ notice</em></div>
    <div class="zs_news2">
        <ul id="classNote">
            #foreach($classBulletin in $classBulletinList)
            	<li>
                    <a href="/public/viewNews?source=myClass&articleId=$classBulletin.id&parentName=班级公告">
                        #if($classBulletin.classDocumentName.length()>20)$classBulletin.classDocumentName.substring(0,20)...#else$classBulletin.classDocumentName#end
                    </a>
                </li>
            #end
        </ul>
    </div>
    <div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="班级公告" num="1">点击查看更多</a></div>
</div>

<!--<div class="mbox" style="display:none">-->
    <!--<div class="mtits2 clear"><span>班主任有话</span><em>/ Class education</em></div>-->
    <!--<div class="mx_news">-->
        <!--<ul>-->
            <!--#if(!$headTeacherWords.image)#else-->
            <!--<li>-->
                <!--<a href="/public/viewNews?source=myClass&articleId=$headTeacherWords.id&parentName=班主任有话">-->
                    <!--<img src="${imageHost}$headTeacherWords.image" />-->
                <!--</a>-->
                <!--<span>-->
					  <!--&lt;!&ndash;<a href="/public/viewNews?source=mxdxIndex&articleId=$headerEnrollmentList.id&parentName=$headerEnrollmentList.name">#if($headerEnrollmentList.title.length()>40)$headerEnrollmentList.title.substring(0,20)...#else$headerEnrollmentList.title#end</a>&ndash;&gt;-->
                    <!--<a href="/public/viewNews?source=myClass&articleId=$headTeacherWords.id&parentName=班主任有话">#if($headTeacherWords.classDocumentName.length()>40)$headTeacherWords.classDocumentName.substring(0,40)...#else$headTeacherWords.classDocumentName#end</a>-->
				  <!--</span>-->
            <!--</li>-->
            <!--#end-->
        <!--</ul>-->
    <!--</div>-->
    <!--<div class="zs_news2">-->
        <!--<ul id="teacherMsg">-->
            <!--#foreach($teacherWords in $teacherWordsList)-->
            	<!--<li  style="font-size:15px;">-->
                    <!--<a href="/public/viewNews?source=myClass&articleId=$teacherWords.id&parentName=班主任有话">-->
                        <!--#if($teacherWords.classDocumentName.length()>20)$teacherWords.classDocumentName.substring(0,20)...#else$teacherWords.classDocumentName#end-->
                    <!--</a>-->
                <!--</li>-->
            <!--#end-->
        <!--</ul>-->
    <!--</div>-->
    <!--<div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="班主任有话" num="1">点击查看更多</a></div>-->
<!--</div>-->

<div class="bj_a">
    <div class="bj_a_ul">
        <ul>
            <li id="schoolName">学校：#if(!$schoolStatus.school)无#else$schoolStatus.school#end</li>
            <li id="majorName">专业：#if(!$schoolStatus.name)无#else$schoolStatus.name#end</li>
            <li id="schoolGrde">年级：#if(!$schoolStatus.schoolGrade)无#else$schoolStatus.schoolGrade#end</li>
            <li id="className">班级：#if(!$schoolStatus.className)无#else$schoolStatus.className#end</li>
            <li id="level">层次：#if(!$schoolStatus.levelName)无#else$schoolStatus.levelName#end</li>
            <li id="levels"></li>
        </ul>
    </div>
    <div class="bj_a_dl">
        <dl>
            #if(!$schoolStatus.photo)#else
                <dt><img src="${imageHost}$schoolStatus.photo"></dt>
            #end
            <dd id="teacherInfoId">
                班主任姓名:#if(!$schoolStatus.teacherName)无#else$schoolStatus.teacherName#end<br>
                联系电话:#if(!$schoolStatus.mobilePhone)无#else$schoolStatus.mobilePhone#end<br>
                班主任寄语:#if(!$schoolStatus.personProfile)无#else$schoolStatus.personProfile#end<br>
            </dd>
        </dl>
    </div>
    <div class="bj_c">
        <div class="bj_a_ul">
            <ul>
                <li id="aa">费用：#if(!$classFee.tuitionFee)0.00#else$classFee.tuitionFee#end</li>
                <li id="bb">已缴：#if(!$studentTuition.alreadyTuitionFee)0.00#else$studentTuition.alreadyTuitionFee#end</li>
                <li id="cc">未缴：#if(!$studentTuition.remainTuitionFee)0.00#else$studentTuition.remainTuitionFee#end</li>
            </ul>
        </div>
        <!--<style type="text/css">-->
            <!--.qimo8{ overflow:hidden; width:100%;}-->
            <!--.qimo8 .qimo {/*width:99999999px;*/width:8000%; height:30px;}-->
            <!--.qimo8 .qimo div{ float:left;}-->
            <!--.qimo8 .qimo ul{float:left; height:30px; overflow:hidden; zoom:1; }-->
            <!--.qimo8 .qimo ul li{float:left; line-height:30px; list-style:none; margin-right:30px; color:#0f7bdd;}-->
        <!--</style>-->
        <!--&lt;!&ndash;<div id="demo" class="qimo8">&ndash;&gt;-->
            <!--&lt;!&ndash;<div class="qimo">&ndash;&gt;-->
                <!--&lt;!&ndash;<div id="demo1">&ndash;&gt;-->
                    <!--&lt;!&ndash;<ul>&ndash;&gt;-->
                        <!--&lt;!&ndash;<li>你已交2000元学费，尚欠3000元学费，财务科电话：13566668888</li>&ndash;&gt;-->
                        <!--&lt;!&ndash;<li>你已交2000元学费，尚欠3000元学费，财务科电话：13566668888</li>&ndash;&gt;-->
                    <!--&lt;!&ndash;</ul>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;<div id="demo2"></div>&ndash;&gt;-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--&lt;!&ndash;<script type="text/javascript">&ndash;&gt;-->
            <!--&lt;!&ndash;var demo = document.getElementById("demo");&ndash;&gt;-->
            <!--&lt;!&ndash;var demo1 = document.getElementById("demo1");&ndash;&gt;-->
            <!--&lt;!&ndash;var demo2 = document.getElementById("demo2");&ndash;&gt;-->
            <!--&lt;!&ndash;demo2.innerHTML=document.getElementById("demo1").innerHTML;&ndash;&gt;-->
            <!--&lt;!&ndash;function Marquee(){&ndash;&gt;-->
                <!--&lt;!&ndash;if(demo.scrollLeft-demo2.offsetWidth>=0){&ndash;&gt;-->
                    <!--&lt;!&ndash;demo.scrollLeft-=demo1.offsetWidth;&ndash;&gt;-->
                <!--&lt;!&ndash;}&ndash;&gt;-->
                <!--&lt;!&ndash;else{&ndash;&gt;-->
                    <!--&lt;!&ndash;demo.scrollLeft++;&ndash;&gt;-->
                <!--&lt;!&ndash;}&ndash;&gt;-->
            <!--&lt;!&ndash;}&ndash;&gt;-->
            <!--&lt;!&ndash;var myvar=setInterval(Marquee,30);&ndash;&gt;-->
            <!--&lt;!&ndash;demo.onmouseout=function (){myvar=setInterval(Marquee,30);}&ndash;&gt;-->
            <!--&lt;!&ndash;demo.onmouseover=function(){clearInterval(myvar);}&ndash;&gt;-->
        <!--&lt;!&ndash;</script>&ndash;&gt;-->

    </div>
    <div class="bj_b">
        <p id="schoolmate">
            #foreach($schoolmate in $schoolmateList)
            <a href="javascript:void(0)">
                <img src="$schoolmate.headPortrait">
                <span>姓名:$schoolmate.studentName</span></br>
                <span >$schoolmate.mood</span>
            </a>
            #end
        </p>
    </div>
    <div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="我的同学" num="1">更多同学</a></div>
</div>
<div class="holderdiv"></div>
<div class="fixdiv">
    <ul>
        <li><a href="javascript:void(0)" onclick="window.history.go(-1)"><img src="http://${staticHost}/images/foticon001.jpg"><span>返回</span></a></li>
        <li><a href="/edu/auth/modifyPwd"><img src="http://${staticHost}/images/foticon004.jpg"><span>重置密码</span></a></li>
        <li><a href="javascript:void(0)" onclick="loginOut()"><img src="http://${staticHost}/images/foticon003.jpg"><span>退出系统</span></a></li>

    </ul>
</div>

</body>
</html>
